Subset Assertions and Negation As Failure
نویسندگان
چکیده
Subset assertions provide a declarative and natural means for expressing solutions to many problems involving sets. This paper is motivated by the use of subset assertions for formulating transitive closures and solving containment constraints in applications of graph traversal and program analysis. In these applications , circular containment constraints may arise, for which we propose an operational strategy based upon memoization and reexecution of function calls. We provide formal declarative and operational semantics for this class of subset assertions. One of the main technical results of this paper is a succinct translation of subset assertions into normal program clauses L87] such that the stratiied semantics of the resulting normal programs coincides with the declarative semantics of subset assertions. This translation is interesting because the operational semantics of subset assertions appears to be very diierent from that of normal programs|due to the setof-like capability and the need of reexecution for subset assertions, both of which are absent in normal program clauses. (However this translation is not an acceptable implementation of subset assertions due to its ineeciency.) We also discuss the connection between our proposed declarative semantics and recent approaches such as stable and well-founded semantics.
منابع مشابه
Subset-Equational Programming in Intelligent Decision Systems
Subset-equational programming is a paradigm of programming with subset and equality assertions. The underlying computational model is based on innermost reduction of expressions and restricted associative-commutative (a-c) matching for iteration over set-valued terms, where is the a-c constructor. Subset assertions incorporate a `collect-all' capability, so that the diierent subset assertions m...
متن کاملDoes understanding negation entail affirmation? An examination of negated metaphors
How do people understand negated assertions? Negation may function like affirmation if it focuses on the counterfactual situation, i.e., the situation ruled out by the statement. Alternatively, negation could shift focus from the counterfactual to the factual situation referred to in the statement. We tested these hypotheses in a study employing a lexical decision task. Participants read affirm...
متن کاملRules with Contextually Scoped Negation
Knowledge representation formalisms used on the Semantic Web adhere to a strict open world assumption. Therefore, nonmonotonic reasoning techniques are often viewed with scepticism. Especially negation as failure, which intuitively adopts a closed world view, is often claimed to be unsuitable for the Web where knowledge is notoriously incomplete. Nonetheless, it was suggested in the ongoing dis...
متن کاملOn Positive Occurrences of Negation as Failure
Logic programs with positive occurrences of negation as failure have recently been introduced as a subset of the logic of minimal belief and negation as failure (MBNF). A unique feature of such programs, which other traditional logic programs lack, is that the minimality of answer sets does not hold. We reveal in this paper that this property is important for applying logic programming to repre...
متن کاملNegation as Failure in the Head
The class of logic programs with negation as failure in the head is a subset of the logic of MBNF introduced by Lifschitz and is an extension of the class of extended disjunctive programs. An interesting feature of such programs is that the minimality of answer sets does not hold. This paper considers the class of general extended disjunctive programs (GEDPs) as logic programs with negation as ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1993